{% block doc -%}
<!DOCTYPE html>
<html{% block html_attribs %}{% endblock html_attribs %}>
{%- block html %}
<head>
{%- block head %}
<title>{% block title %}{% endblock title %}</title>
{%- block metas %}
<meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
{%- endblock metas %}
{%- block styles %}
<link href="{{ url_for('static', filename='favicon.ico') }}" rel="shortcut icon" type="image/x-icon" />
<link href="{{ url_for('static', filename='favicon.ico') }}" rel="icon" type="image/x-icon" />
<link href="{{ url_for('static', filename='default/css/base.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ url_for('static', filename='default/css/admin.css') }}" rel="stylesheet" type="text/css" />
{%- endblock styles %}
{% block scripts %}
<script src="{{ url_for('static', filename='plug-in/jquery-2.1.3.min.js') }}" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="{{ url_for('static', filename='plug-in/jquery-1.9.0.min.js') }}" type="text/javascript"></script>
<![endif]-->
<script src="{{ url_for('static', filename='default/js/stylelistener.jquery.min.js') }}" type="text/javascript"></script>
{%- endblock scripts %}
{%- endblock head %}
</head>
<body{% block body_attribs %}{% endblock body_attribs %}>
<div class="wrap">
    <div class=" main clearfix">
        <div id="panel_yang">
        <div style="clear:both;"></div>
            {% block body -%}
            {% block navbar %}
            {% include 'default/moudle_topbar.html' %}
            {%- endblock navbar %}
            {% block content -%}
            <div id="container">
                <div id="admin_nav">
                    <div style="clear:both;"><br/></div>
                    <ul>
                        <li class="f-large"><a href="{{ url_for('main.admin_article') }}">Article</a></li>
                        <li class="f-large">Document</li>
                        <li class="f-large">Tag</li>
                        <li class="f-large">Global Nav</li>
                    </ul>
                    <div style="clear:both;"><br/></div>
                </div>
                {% for message in get_flashed_messages() %}
                <div class="alert alert-warning">
                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                    {{ message }}
                </div>
                {% endfor %}
                {% block page_content %}{% endblock %}
            </div>
            {%- endblock content %}
            {%- endblock body %}
            <div style="clear:both;"></div>
        </div>
        <div id="panel_yin" style="display: none;">
            <div style="clear:both;"></div>
            {% block panel_yin %}
            <div id="tag_list" style="display: none;">
                <ul>
                    <li><a>Android</a></li>
                    <li><a>ios</a></li>
                    <li><a>ios</a></li>
                    <li><a>ios</a></li>
                </ul>
                <div style="clear:both;"></div>
            </div>
            {%- endblock panel_yin %}
            <div style="clear:both;"></div>
        </div>
    </div>
</div>
<div class="footer">
    <div class="copyright">
        Copyright ©
        <strong><a href="/" target="_blank">CZLIB</a></strong>&nbsp;
        All Rights Reversed.
        {% if current_user.is_authenticated() %}
        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
        <span><a href="#">简体中文</a>&nbsp;|&nbsp;</span>
        <span><a href="#">English</a></span>
        {% endif %}
    </div>
</div>
</body>
{%- endblock html %}
</html>
{% endblock doc -%}